package com.zjitc.p2.obj;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/13 15:13
 * @description:
 */
public class C implements M{
  private A a;

  public C() {
  }

  public C(A a){
    this.a=a;
  }
  @Override
public void a(){
  System.out.println("init");
  a.a();
  System.out.println("destroy");
}
  @Override
public void b(){
  a.b();
}

}
